//
//  NewsImageCell.m
//  WXMovie
//
//  Created by apple on 16/4/1.
//  Copyright © 2016年 zic_magic. All rights reserved.
//

#import "NewsImageCell.h"

@implementation NewsImageCell


- (void)awakeFromNib {
    
    [super awakeFromNib];
    
}
- (void)setModel:(ImageModel *)model {
    
    _model = model;
    
    _imgView.layer.cornerRadius = 5;
    _imgView.layer.masksToBounds = YES;
    
    [_imgView sd_setImageWithURL:[NSURL URLWithString:_model.image]];
    
}

@end
